﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using KSWSClient.ConfigUI;

namespace KSWSClient
{
    public partial class fmMain : Form
    {
        public fmMain()
        {
            InitializeComponent();
        }

        private void sMConfigToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ChangeMainPanel(new SMConfigPanel());
        }

        private void ChangeMainPanel(UserControl targetPanel)
        {
            this.plMain.Controls.Clear();
            this.plMain.Controls.Add(targetPanel);
            this.plMain.Update();
        }

        private void sOAPClientNoWSToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ChangeMainPanel(new SOAPSenderPanel());
        }
    }
}
